-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --experimental-issue-pkcs12 flag to enable PKCS12 bundle generation #2643
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: munnerz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
That functions actually uses bytes.Compare as I had not spotted 'Equal'! I
chose to have a specific function for it in order to explicitly handle the
'nil' cases...
…On Wed, 4 Mar 2020 at 08:36, Maartje Eyskens ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In pkg/controller/certificates/sync.go
<#2643 (comment)>
:
> @@ -856,3 +873,16 @@ func setSecretValues(ctx context.Context, crt *cmapi.Certificate, s *corev1.Secr
return nil
}
+
+func bytesEqual(l, r []byte) bool {
Go provides bytes.Equal, any reason we use this function instead?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2643>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABRWP74RBVDJ3ASBHPUFELRFYHIHANCNFSM4LANP5PQ>
.
|
Signed-off-by: James Munnelly <james@munnelly.eu>
I've switched to use |
/lgtm |
What this PR does / why we need it:
This PR adds a new experimental flag to enable generating PKCS12 bundles in 'target secrets'.
This flag will be replaced with native support for PKCS12 bundles in future, once #2402 has been implemented.
Which issue this PR fixes: part of #586
Special notes for your reviewer:
Release note:
/assign @meyskens
/cc @JoshVanL